How Solar Analytics Calculates The Ideal Battery